﻿// =================================================================== 
// 项目说明
//====================================================================
// 文件： ERP_Inventory.cs
// 创建时间：2016/12/9
// 负责人：
// ===================================================================
using System;

//注意：该文件自动生成，一般请不要手工修改。

namespace CRMMis.Model
{
	/// <summary>
	///盘点表(ERP_Inventory)数据实体
	/// </summary>
	[Serializable]
	public class ERP_Inventory
	{
		#region 变量定义
		
		///<summary>
		///盘点id
		///</summary>
		private int _inventoryid;
		
		///<summary>
		///盘点单号
		///</summary>
		private string _inventoryNo = String.Empty;
		
		///<summary>
		///盘点库房
		///</summary>
		private int _storeRoomId;
		
		///<summary>
		///录入人
		///</summary>
		private string _inUser = String.Empty;
		
		///<summary>
		///录入时间
		///</summary>
		private string _inDate = String.Empty;
		
		///<summary>
		///审核人
		///</summary>
		private string _checkUser = String.Empty;
		
		///<summary>
		///审核时间
		///</summary>
		private string _checkDate = String.Empty;
		
		///<summary>
		///状态
		///</summary>
		private int _state;
		
		///<summary>
		///描述
		///</summary>
		private string _remark = String.Empty;
		
		///<summary>
		///
		///</summary>
		private int _inventoryType;
		#endregion
		
		#region 构造函数

		///<summary>
		///盘点表的构造函数，默认值通过数据库的default取得
		///</summary>
		public ERP_Inventory()
		{
 
		}
		///<summary>
		///盘点表
		///</summary>
		public ERP_Inventory
		(
			int inventoryid,
			string inventoryNo,
			int storeRoomId,
			string inUser,
			string inDate,
			string checkUser,
			string checkDate,
			int state,
			string remark,
			int inventoryType
		)
		{
			_inventoryid   = inventoryid;
			_inventoryNo   = inventoryNo;
			_storeRoomId   = storeRoomId;
			_inUser        = inUser;
			_inDate        = inDate;
			_checkUser     = checkUser;
			_checkDate     = checkDate;
			_state         = state;
			_remark        = remark;
			_inventoryType = inventoryType;
			
		}
		
		

		#endregion
		
		#region 公共属性

		
		
		///<summary>
		///盘点id
		///</summary>
		public int Inventoryid
		{
			get {return _inventoryid;}
			set {_inventoryid = value;}
		}

		
		///<summary>
		///盘点单号
		///</summary>
		public string InventoryNo
		{
			get {return _inventoryNo;}
			set {_inventoryNo = value;}
		}

		
		///<summary>
		///盘点库房
		///</summary>
		public int StoreRoomId
		{
			get {return _storeRoomId;}
			set {_storeRoomId = value;}
		}

		
		///<summary>
		///录入人
		///</summary>
		public string InUser
		{
			get {return _inUser;}
			set {_inUser = value;}
		}

		
		///<summary>
		///录入时间
		///</summary>
		public string InDate
		{
			get {return _inDate;}
			set {_inDate = value;}
		}

		
		///<summary>
		///审核人
		///</summary>
		public string CheckUser
		{
			get {return _checkUser;}
			set {_checkUser = value;}
		}

		
		///<summary>
		///审核时间
		///</summary>
		public string CheckDate
		{
			get {return _checkDate;}
			set {_checkDate = value;}
		}

		
		///<summary>
		///状态
		///</summary>
		public int State
		{
			get {return _state;}
			set {_state = value;}
		}

		
		///<summary>
		///描述
		///</summary>
		public string Remark
		{
			get {return _remark;}
			set {_remark = value;}
		}

		
		///<summary>
		///
		///</summary>
		public int InventoryType
		{
			get {return _inventoryType;}
			set {_inventoryType = value;}
		}
	
		#endregion
		
	}
}